package com.bean;

import java.sql.Timestamp;


/**
 * UserScoreRecord entity. @author MyEclipse Persistence Tools
 */

public class UserScoreRecord  implements java.io.Serializable {


    // Fields    

     /** serialVersionUID*/
	private static final long serialVersionUID = 2556734733059750801L;
	private Long id;
     private Userinfo userinfo;
     private Double score;
     private Short type;
     private Short source;
     private Timestamp createTime;
     private Short status;


    // Constructors

    /** default constructor */
    public UserScoreRecord() {
    }

	/** minimal constructor */
    public UserScoreRecord(Double score, Short type, Short source, Timestamp createTime, Short status) {
        this.score = score;
        this.type = type;
        this.source = source;
        this.createTime = createTime;
        this.status = status;
    }
    
    /** full constructor */
    public UserScoreRecord(Userinfo userinfo, Double score, Short type, Short source, Timestamp createTime, Short status) {
        this.userinfo = userinfo;
        this.score = score;
        this.type = type;
        this.source = source;
        this.createTime = createTime;
        this.status = status;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public Userinfo getUserinfo() {
        return this.userinfo;
    }
    
    public void setUserinfo(Userinfo userinfo) {
        this.userinfo = userinfo;
    }

    public Double getScore() {
        return this.score;
    }
    
    public void setScore(Double score) {
        this.score = score;
    }

    public Short getType() {
        return this.type;
    }
    
    public void setType(Short type) {
        this.type = type;
    }

    public Short getSource() {
        return this.source;
    }
    
    public void setSource(Short source) {
        this.source = source;
    }

    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Short getStatus() {
        return this.status;
    }
    
    public void setStatus(Short status) {
        this.status = status;
    }
   








}